Peterson’s Algorithm in Isabelle/HOL
نویسنده
چکیده
Peterson’s algorithm [Pet81] is designed to ensure mutual exclusion between two processes without any special hardware support. Peterson’s algorithm has been formalised and verified several times. Although the algorithm is essentially finite state, and therefore susceptible to model checking, we provide an invariant style proof. Invariant style proofs illustrate techniques that are usable for problems that do not fall to model checking techniques. They can also provide important information to justify intuitive notions of why an algorithm is correct, and this knowledge may serve when tackling more complicated algorithms. Finally, invariant style proofs are often more elegant than model checking proofs.
منابع مشابه
Mechanized quantifier elimination for linear real-arithmetic in Isabelle/HOL
We integrate Ferrante and Rackoff’s quantifier elimination procedure for linear real arithmetic in Isabelle/HOL in two manners: (a) tactic-style, i.e. for every problem instance a proof is generated by invoking a series of inference rules, and (b) reflection, where the whole algorithm is implemented and verified within Isabelle/HOL. We discuss the performance obtained for both integrations.
متن کاملIsabelle Collections Framework
This development provides an efficient, extensible, machine checked collections framework for use in Isabelle/HOL. The library adopts the concepts of interface, implementation and generic algorithm from object-oriented programming and implements them in Isabelle/HOL. The framework features the use of data refinement techniques to refine an abstract specification (using high-level concepts like ...
متن کاملIsabelle Collections Framework
This development provides an efficient, extensible, machine checked collections framework for use in Isabelle/HOL. The library adopts the concepts of interface, implementation and generic algorithm from object-oriented programming and implements them in Isabelle/HOL. The framework features the use of data refinement techniques to refine an abstract specification (using high-level concepts like ...
متن کاملType Inference Veri ed : Algorithm W in Isabelle / HOL ?
This paper presents the rst machine-checked veriication of Milner's type inference algorithm W for computing the most general type of an untyped-term enriched with let-expressions. This term language is the core of most typed functional programming languages and is also known as Mini-ML. We show how to model all the concepts involved, in particular types and type schemes, substitutions, and the...
متن کاملA Mechanically Verified, Sound and Complete Theorem Prover for First Order Logic
We present a system of first order logic, together with soundness and completeness proofs wrt. standard first order semantics. Proofs are mechanised in Isabelle/HOL. Our definitions are computable, allowing us to derive an algorithm to test for first order validity. This algorithm may be executed in Isabelle/HOL using the rewrite engine. Alternatively the algorithm has been ported to OCaML.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2006